from api.models.type_model import TypeModel

class TypeService:
    """用户服务"""
    
    
    @staticmethod
    def get_all():
        """获取所有用户"""
        return TypeModel.get_all()
    
    @staticmethod
    def get_by_show():
        """根据is_show获取数据"""
        return TypeModel.get_list()